]> dgit.raspbian.org Git - gnome-shell.git/commit
dnd: Immediately start drag done by pointer devices
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 31 May 2021 13:12:05 +0000 (10:12 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 31 May 2021 13:59:11 +0000 (10:59 -0300)
commit5339b1e6a29dff0e23911be2df2bcb028b696498
tree96c061d21ba8e08ff38892e819d74f3c0190af0f
parente89c6179af0f4f983b57fefe0d5e3d5bcdbc2dbc
dnd: Immediately start drag done by pointer devices

Unlike touch screens, pointer devices (e.g. cursor, touchpad) are
basically never used to switch app grid pages, which is the main
use case for the drag threshold. This point was recently raised
as design feedback.

Immediately start drags when using pointer devices.

See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3802#note_1124701

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4287

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1866>
js/ui/dnd.js